import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vant from 'vant'
import 'vant/lib/index.css'
import '@/assets/css/theme.css'
import BottomOut from './components/bottomOut.vue'

const app = createApp(App)
app.config.globalProperties.$jump = function(router) {
  this.$router.push(router)
}
app
  .use(store)
  .use(vant)
  .use(router)
  .component('BottomOut', BottomOut)
  .mount('#app')
